/**
 * 多语言切换
 */
module.exports = {
  locales: [
    {
      code: 'zh',
      name: '简体中文',
      iso: '中',
    },
    {
      code: 'en',
      name: 'English',
      iso: 'EN',
    },
  ],
  defaultLocale: 'en',
  vueI18n: {
    fallbackLocale: 'en',
    messages: {
      en: require('../assets/lang/en-US.json'),
      zh: require('../assets/lang/zh-CN.json'),
    },
  },
}
